package com.nfIt.dingYings;

/**
 * ClossName:dianYing
 * Pakage:com.nfIt
 * Description
 *
 * @Author L
 * @Create 2024/3/20 19:02
 * @Version 2023.1.3
 */
public class dianYing extends Thread{

    private int piao=1;


    @Override
    public void run(){
        while (piao<=50){
            System.out.println(Thread.currentThread().getName()+"出售了"+piao+"张票");
            piao++;
        }
    }


}
